/* pages/user/profile/profile.less */
@primary-color: #3498db;
@text-color: #333;
@border-color: #f0f0f0;
@bg-color: #f5f7fa;

.container {
  padding: 20px;
  background: linear-gradient(135deg, #1a2a6c 0%, #2a5298 100%);
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 背景装饰元素 */
.container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.user-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 200px;
  z-index: 1;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 360px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 15px;
}

.avatar-image {
  width: 100%;
  height: 100%;
}

.avatar-icon {
  font-size: 28px;
  color: white;
}

.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nickname {
  font-size: 18px;
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// .button-section {
  // flex: 1;
  // display: flex;
  // align-items: center;
// }

.auth {
  font-size: 14px;
  color: #4a90e2;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  display: inline;
  width: auto;
}

.auth:active {
  color: #3a7bc8;
}

.user-tip {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.menu {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
  position: relative;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  
  &:active {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  &:last-child {
    border-bottom: none;
  }
}

.menu-icon {
  font-size: 22px;
  width: 30px;
  text-align: center;
  margin-right: 12.5px;
  color: white;
}

.menu-text {
  flex: 1;
  font-size: 16px;
  color: white;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.arrow {
  font-size: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  transform: scale(1.5, 2);
  margin-left: 5px;
}

.about {
  margin-top: auto;
  text-align: center;
  padding: 20px 0;
  z-index: 1;
  position: relative;
}

.about-title {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 7.5px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.version {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.copyright {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 底部信息 */
.footer {
  text-align: center;
  padding: 15px 0;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
  margin-top: auto;
}